package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.User;
import org.springframework.transaction.annotation.Transactional;
@Transactional
public interface UserService {

    void save(User user);

    void delete(Integer id);

    void update(User user);

    User selectByid(Integer id);

    PageInfo<User> selectAll();
}
